/// author：william on 2021/3/30 11:43
/// email：362661044@qq.com
extension ExtensionMap on Map<String, dynamic> {

  dynamic getKeyData(String key) {
    if (this == null) return null;
    return this.containsKey(key) == true ? this[key] : '';
  }

  String getToString(String key) {
    if (this == null) return '';
    return this.containsKey(key) == true ? this[key].toString() : '';
  }

}
